<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <base href="<%=basePath+"manage/"%>">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!--图标-->
    <link rel="stylesheet" href="/manage/assets/iconfont/iconfont.css">
    <!--树-->
    <link rel="stylesheet" href="/manage/css/bootstrap.min.css">
    <link rel="stylesheet" href="/manage/assets/bootgrid/css/jquery.bootgrid.css"/>
    <link rel="stylesheet" href="/manage/assets/viewer/css/viewer.css"/>
    <link href="/home/module/goodSearch/css/shopMessage.css" rel="stylesheet"/>

    <script src="/manage/js/jquery.js"></script>
    <script src="/manage/js/bootstrap.min.js"></script>
    <script src="/manage/assets/eModal/eModal.js"></script>
    <script src="/manage/assets/bootgrid/js/jquery.bootgrid.js"></script>
    <script src="/manage/assets/bootgrid/js/jquery.bootgrid.fa.js"></script>
    <script src="/manage/assets/viewer/js/viewer.js"></script>
    <script src="/manage/js/dialog.js"></script>
    <script src="/home/module/goodSearch/js/shopMessage.js"></script>


</head>
<body>
<input type="hidden" id="province" value="${shop.province}"/>
<input type="hidden" id="longitude" value="${shop.longitude}"/>
<input type="hidden" id="latitude" value="${shop.latitude}"/>
<input type="hidden" id="businessLicensePhoto" value="${shop.businessLicensePhoto}"/>
<input type="hidden" id="shopOutPhoto" value="${shop.shopOutPhoto}"/>
<input type="hidden" id="shopInPhoto" value="${shop.shopInPhoto}"/>


<div class="shopManageRightContainer">
    <h3 class="shop-h3">
            店铺信息
    </h3>
    <div class="shopManageOption">
        <div class="shopManageTitle"><h4><small>地址</small></h4></div>
        <div class="shopManageContent">
            <h4>
                ${goodMessage.province=="北京"||goodMessage.province=="重庆"||goodMessage.province=="天津"||goodMessage.province=="上海"?goodMessage.province:""}&nbsp;${shop.city}&nbsp;${shop.area}&nbsp;
                ${shop.addressDetail}
            </h4>
        </div>
        <div class="clear-float"></div>
    </div>
    <div class="shopManageOption">
        <div class="shopManageTitle"><h4><small>定位</small></h4></div>
        <div class="shopManageContent">
            <div id="map" style="width:100%;height:360px;border: 1px solid #d8d8db;"></div>
        </div>
        <div class="clear-float"></div>
    </div>
    <div class="shopManageOption">
        <div class="shopManageTitle"><h4><small>门店名称</small></h4></div>
        <div class="shopManageContent">
            <h4>
                ${shop.name}
            </h4>
        </div>
        <div class="clear-float"></div>
    </div>
    <div class="shopManageOption">
        <div class="shopManageTitle"><h4><small>营业执照号</small></h4></div>
        <div class="shopManageContent">
            <h4>
                ${shop.businessLicenseNumber}
            </h4>
        </div>
        <div class="clear-float"></div>
    </div>
    <h3 class="shop-h3">
            图片资料
    </h3>
    <div class="shopManageOption">
        <div class="shopManageTitle"><h4><small>门营业执照照片</small></h4></div>
        <div class="shopManageContent">
            <img class="shopPhoto" src="../resource/download.do?id=${shop.businessLicensePhoto}" alt="Picture">
        </div>
        <div class="clear-float"></div>
    </div>
    <div class="shopManageOption">
        <div class="shopManageTitle"><h4><small>门店外面照片</small></h4></div>
        <div class="shopManageContent">
            <img class="shopPhoto" src="../resource/download.do?id=${shop.shopOutPhoto}" alt="Picture">
        </div>
        <div class="clear-float"></div>
    </div>
    <div class="shopManageOption">
        <div class="shopManageTitle"><h4><small>门店内营业现场照片</small></h4></div>
        <div class="shopManageContent">
            <img class="shopPhoto" src="../resource/download.do?id=${shop.shopInPhoto}" alt="Picture">
        </div>
        <div class="clear-float"></div>
    </div>
</div>
    <script type="text/javascript"
            src="http://api.map.baidu.com/api?v=2.0&ak=9AWkO508ejznfczgToGLxYqaN1Po4vYI&callback=mapCallback"></script>
</body>
</html>
